<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>稿件申请信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

	<link rel="stylesheet" type="text/css" href="css/styles.css">
	<link type="text/css" href="css/message.css" rel="stylesheet">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/message.js"></script>
	<script type="text/javascript" src="js/apply.js"></script>
  </head>
  
  <body style="text-align:center;background-color:#E8F2FE">
        <div class="head" align="left" style="color:#7C7CC6;height:10px">请认真填写稿件申请信息</div>
        <div style="text-align:left">
        	<fieldset >
        	<legend>稿件详细信息</legend>
        	<s:form action="applyInfoPostAction" method="post" theme="simple" enctype="multipart/form-data" id="fileForm" name="fileForm">
        	<label style="margin-left:20px;">中文名称:</label>
        	<input type="text" name="chinaName" id="chinaName" style="width:200px"><span class="must" >*</span>
        	<label style="margin-left:20px;">英文名称:</label>
        	<input type="text" name="englishName" id="englishName" style="width:200px"><span class="must" >*</span><br>   
        	<label style="margin-left:20px;margin-top:5px">院&nbsp;&nbsp;&nbsp;系:</label>
        	<select id="college" name="college" style="margin-top:5px;margin-left:5px;width:150">
        	<c:forEach items="${collegeList}" var="college">
        		<option value="${college.name}">${college.name}</option>
        	</c:forEach>
        	</select><span class="must" >*</span><br/>
        	<label style="margin-left:20px;">种&nbsp;&nbsp;&nbsp;类:</label>
        	<select id="categoryName" name="categoryId" style="margin-top:5px;margin-left:5px;width:150">
        	<c:forEach items="${categoryList}" var="category">
        	    <option value="${category.id }">${category.name }</option>
        	</c:forEach>
        	</select><span class="must" >*</span> 	
        	<br/>
        	<label style="margin-left:20px;">中文简介:</label>
			<textarea rows="10" cols="40" style="margin-top:5px;" name="chinaBrief" id="chinaBrief"></textarea><span class="must" >*</span><br>
			<label style="margin-left:20px;">英文简介:</label>
			<textarea rows="10" cols="40" style="margin-top:5px;" name="englishBrief" id="englishBrief" ></textarea><span class="must" >*</span><br/>
			<label style="margin-left:20px;">请选择上传的文件:</label>
			<s:file cssStyle="margin-top:5px" name="applyFile" id="applyFile"></s:file><br/>
			<input type="button" value="提交" onclick="checkApply()" style="height:20px;margin-top:10px;margin-left:100px">
			<input type="reset" value="重置" style="height:20px;margin-top:10px;margin-left:20px">
        	</s:form>
        	</fieldset>
        </div>
  </body>
</html>
